Skip to content

feat: bucket references and ingress hostnames from built-ins - #52

Merged
iRazvan2745 merged 4 commits into
masterfrom
bucket-references
Nov 29, 2026
Merged

iRazvan2745 merged 4 commits into
masterfrom
bucket-references

Conversation

@iRazvan2745

@iRazvan2745 iRazvan2745 commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Bucket references: bucket resources can now be referenced from other resources. A reference resolves to the bucket's S3 settings (S3_ACCESS_KEY_ID, S3_BUCKET, S3_ENDPOINT, S3_FORCE_PATH_STYLE, S3_REGION, S3_SECRET_ACCESS_KEY) with the bucket's own key pair, using the same names as its Variables tab. Resolving fails if the bucket isn't ready yet.
  • Ingress hostnames: parseIngressCompose now resolves Variables that build on other Variables and on Clowder built-ins, e.g. ${SILO_SERVICE_NAME}.${CLOWDER_DOMAIN}, the same way a deploy does. A self-referencing Variable resolves to empty instead of recursing forever. The networking settings panel passes in the system variables.
  • CI: tests run when a PR is opened, reopened or marked ready for review, and on manual dispatch, instead of on every push to master.
  • Docs: removed pull_policy: always from the docs compose file.
  • Formatter fix in tests/api/template-create.test.ts.

Testing

  • tests/workflows/references.test.ts and tests/workflows/ingress.test.ts pass (152 tests)
  • pnpm check is clean

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@blacksmith-sh

blacksmith-sh Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Found 6 test failures on Blacksmith runners:

Failures

Test View Logs
tests/e2e/
variable-references.spec.ts:230:5 › picking a reference › shows loading while the resou
rces are still on their way
View Logs
tests/e2e/
variable-references.spec.ts:79:5 › picking a reference › typing {{ opens on this projec
t's resources
View Logs
tests/e2e/
variable-references.spec.ts:90:5 › picking a reference › Back lists the projects, and a
nother project's resources can be picked
View Logs
tests/api/variable-references.test.ts/variable references API (PostgreSQL) > deploy >
refuses a bucket before creating a deployment
View Logs
tests/api/variable-references.test.ts/variable references API (PostgreSQL) >
listVariableReferences > lists same-cluster compose resources, with key names only
View Logs
tests/workflows/reference-deployment.test.ts/
deploying resources that reference other resources (PostgreSQL) >
never resolves resources on a bucket resource
View Logs

Fix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@greptile-apps

greptile-apps Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · The PR appears safe to merge; both previous findings are fixed, and no new actionable issues were found.RetriggerView in GreptileConfidence Score: 5/5

[Critical impact] The PR appears safe to merge; both previous findings are fixed, and no new actionable issues were found.

Summary

Adds bucket references and resolves ingress hostnames using Variables and Clowder built-ins.

  • Resources can use a ready bucket’s S3 settings in variable references.
  • Ingress previews resolve hostnames built from built-ins and earlier Variables.
  • Tests start on selected pull-request events or manual dispatch.
  • The docs service no longer forces an image pull on every run.
  • The template creation test keeps the same check in a shorter line.

Reviews (2) · Last reviewed commit: "fix: resolve ingress Variables in file o..." · Reviewed by Greptile

Comment thread packages/workflows/src/ingress.ts Resolved
@iRazvan2745
iRazvan2745 merged commit bc243b7 into master Nov 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant